Skip to content

Conversation

manuelcandales
Copy link
Contributor

Build system changes:

  • Add EXECUTORCH_BUILD_METAL build option in default.cmake
  • Fix AOTI linker flags for Apple platforms (use -export_dynamic)
  • Extend AOTI build support to Metal backend
  • Register Metal backend and configure Metal framework linkage
  • Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:

  • Add main Metal backend runtime providing entry point for AOTI-compiled
    model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@manuelcandales
Copy link
Contributor Author

manuelcandales commented Oct 10, 2025

Copy link

pytorch-bot bot commented Oct 10, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15024

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 1509b6d with merge base f4d801a (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

manuelcandales added a commit that referenced this pull request Oct 10, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.


ghstack-source-id: 32be451
ghstack-comment-id: 3392300655
Pull-Request: #15024
@manuelcandales manuelcandales requested review from mergennachin and removed request for cccclai, kirklandsign and shoumikhin October 10, 2025 21:02
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 10, 2025
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 10, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: dd5866f
ghstack-comment-id: 3392300655
Pull-Request: #15024
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 15, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: 8b9259a
ghstack-comment-id: 3392300655
Pull-Request: #15024
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 15, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: e74c7d8
ghstack-comment-id: 3392300655
Pull-Request: #15024
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 15, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: f7c75e1
ghstack-comment-id: 3392300655
Pull-Request: #15024
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 15, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: 8ff2360
ghstack-comment-id: 3392300655
Pull-Request: #15024
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 15, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: 62b9212
ghstack-comment-id: 3392300655
Pull-Request: #15024
[ghstack-poisoned]
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 17, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: a79449d
ghstack-comment-id: 3392300655
Pull-Request: #15024
Base automatically changed from gh/manuelcandales/143/head to main October 17, 2025 14:57
@manuelcandales manuelcandales merged commit 06ea3d6 into main Oct 17, 2025
182 of 278 checks passed
@manuelcandales manuelcandales deleted the gh/manuelcandales/144/head branch October 17, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants